onload = function () {
    var slog = document.getElementById("slogan").querySelectorAll("h5");
    var temp;
    console.log(slog);
    for (var i = 0; i < slog.length; i++) {
        temp = slog[i];
        console.log(i * -50 - 2 + 'px');
        temp.style.backgroundPositionY = i * -52 - 2 + 'px';
    }
}

